package org.csu.logistics.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("log")
public class log {
    @TableId(value = "userid", type= IdType.INPUT)
    private int userid;
    private String pwd;
    private int authority;
    private String email;
    public log(int userid, String pwd,String email, int authority){
        this.userid = userid;
        this.pwd = pwd;
        this.email = email;
        this.authority = authority;
    }
}
